#!/bin/sh

Name="mybeego"

ID=`ps -ef | grep "$Name" | grep -v "$0" | grep -v "grep" | awk '{print $2}'`

for id in $ID
do
  kill -9 $id
  echo "kill -9 $id"
done

echo "----end----"


